//
//  ItemPickerViewCell.m
//  MKUI
//
//  Created by sushangjin on 2020/6/5.
//Copyright © 2020 sushangjin. All rights reserved.
//

#import "ItemPickerViewCell.h"

@interface ItemPickerViewCell ()

@end

@implementation ItemPickerViewCell
- (id)initWithFrame:(CGRect)frame{
	if (self=[super initWithFrame:frame]) {
	}
	return self;
}
- (void)layoutSubviews{
	[super layoutSubviews];
//	CGRect bounds = self.contentView.bounds;
}
- (void)setCustomCellModel:(ItemPickerViewCellModel *)customCellModel{
	[super setCustomCellModel:customCellModel];
//	Item *modelObject = customCellModel.modelObject;
    if (customCellModel.selected) {
        self.titleLabel.font = [UIFont boldSystemFontOfSize:24];
    }else{
        self.titleLabel.font = [UIFont systemFontOfSize:23.5];
    }
}
@end

@implementation ItemPickerViewCellNoSelect
- (id)initWithFrame:(CGRect)frame{
    if (self=[super initWithFrame:frame]) {
        self.titleLabel.textColor = [UIColor redColor];
    }
    return self;
}
@end
